package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.CheckGroupDto;
import com.itheima.entity.PageReq;
import com.itheima.entity.PageRes;
import com.itheima.pojo.CheckGroup;
import com.itheima.vo.CheckGroupVO;
import com.itheima.vo.SetmealVO;

import java.util.List;

public interface CheckGroupService extends IService<CheckGroup> {
    public boolean deleteById(Long id);
    //根据前端填写信息新增
    public boolean saveGroup(CheckGroupDto checkGroupDto);
    //分页查询
    public PageRes<CheckGroup> findByPage(PageReq req);

    public List<CheckGroupVO> selectBySetmealId(long setmealId);

}
